package com.app.service;

import com.app.model.TrainPeopleModel;
import com.app.vo.TrainPeopleVo;
import com.baomidou.mybatisplus.extension.service.IService;
//培训学员报名
public interface TrainPeopleService extends IService<TrainPeopleModel> {
    //培训学员列表
    TrainPeopleVo getTrainPeopleList(Integer page, Integer limit);
    //详情
    TrainPeopleModel getUserTrainById(Integer id);
    //查询学校的培训学员列表
    TrainPeopleVo getTrainPeopleByTrain(Integer page,Integer limit,Integer trainId);
    //查询用户报名培训列表
    TrainPeopleVo getUserTrainList(Integer page,Integer limit,String openId);
}
